use async_dao::mysql_conn_pool;

/// @Author: DengLibin 榆霖
/// @Date:  2022-07-11 11:47:03
/// @Description: 


use tokio::runtime::Runtime;

async fn  get_conn(pool: &mysql_async::Pool){
    let mut conn = pool.get_conn().await;
}
#[test]
pub fn test_get_conn_pool(){
    let pool = mysql_conn_pool::get_conn_pool();
    let f = get_conn(&pool);
    
     
    let runtime = Runtime::new().unwrap();
    runtime.block_on(f);
}


